$(document).ready(
  function()
  {
	  
	var links = $('.switch_lang a');	  
	links.click(function(){
		links.removeClass('active');
		$(this).addClass('active');
		
		var lang = this.href.substr(this.href.indexOf('#')+1);
		$('.lang_dep').hide();
		$('.lang_dep.lang_' + lang).show();
		
		return false;
	});

	$(document).bind('activateMultilang', function(){
		$('.switch_lang a.active').trigger('click');
	}).trigger('activateMultilang');
	
	
  }
);